
#ifndef __DIRITEM_H
#define __DIRITEM_H

struct CDirItem
{
 	UInt64 Size;
 	FILETIME CTime;
 	FILETIME ATime;
 	FILETIME MTime;
 	UString Name;
 	FString FullPath;
 	UInt32 Attrib;

	bool isNewdata;
	bool isNewproperties;
	UInt32 indexInArchive;
 
 	bool isDir() const { return (Attrib & FILE_ATTRIBUTE_DIRECTORY) != 0 ; }
	CDirItem()
	{
		Size = 0;
		Attrib = 0;

		isNewdata = true;
		isNewproperties = true;
		indexInArchive = -1;
	}
};

#endif